package com.xyz.someapp;

import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;

@Aspect
public class AfterReturningExample {

    //@AfterReturning("com.xyz.myapp.SystemArchitecture.dataAccessOperation()")
    @AfterReturning(
        pointcut="com.xyz.someapp.SystemArchitecture.dataAccessOperation()",
        returning="retVal")
    public void doAccessCheck(Object retVal) {
        System.out.println("AfterReturningExample doAccessCheck("+retVal+")");
    }

}
